package cn.wh.service;

/**
 * @author: wh
 * @create: 2022-08-18 14:23
 * @description
 **/
public class UserService {

    private String name;

    public UserService (){

    }

    public void queryUserInfo(){
        System.out.println("查询用户信息:"+name);
    }

    public UserService (String name){
        this.name=name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "UserService{" +
                "name='" + name + '\'' +
                '}';
    }
}
